<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?=$data['title'];?></title>
    <style>
        body {
            background-color: #eee;
            text-align: center;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        .container {
            margin-top: 10%;
        }
        h1 {
            font-size: 8em;
            color: #ddd;
            margin-bottom: 0;
        }
        p {
            font-size: 3em;
            color: #777;
            margin-top: 0;
        }
        a {
            text-decoration: none;
            color: #000;
            border: 1px solid #000;
            padding: 10px 20px;
            margin-top: 30px;
            display: inline-block;
        }
        a:hover {
            border-color: #777;
        }
    </style>
</head>
<body>
<div class="container">
    <h1><?=$data['title'];?></h1>
    <p><?=$data['msg']?></p>
    <?php if($data['title']=='Success'):?>
        <?php if(empty($data['href'])):?>
            <a href="#" onClick="javascript:history.back(1);">返回上一个页面</a>
        <?php else:?>
            <a href="<?=$data['href']?>">前往下一步</a>
        <?php endif;?>
    <?php else:?>
        <a href="#" onClick="javascript:history.back(1);">返回上一个页面</a>
    <?php endif;?>
</div>
</body>
</html>